export default {
	/**
	 * 计算上浮价格
	 */
	//上浮百分百计算
	markupTypeBfb(searchPriceData, money) {
		// let level = JSON.parse(localStorage.getItem(preutils.accountLevel));
		// if (level == 2) {

		// } else if (level == 1) {

		// }else {

		// }
		var number = Number(searchPriceData.markup_number) / 100;
		var markupMoney = Number(money) * (1 + number);
		return markupMoney;
	},
	//上浮金额计算
	markupTypeMoney(searchPriceData, money) {
		// let level = JSON.parse(localStorage.getItem(preutils.accountLevel));
		// if (level == 2) {

		// } else if (level == 1) {

		// }else {

		// }
		var markupMoney = Number(money) + Number(searchPriceData.markup_number);
		return markupMoney;
	},
};